package cn.smbms.service.user;

import cn.smbms.beans.User;

import java.util.List;

/**
 * @ Author   ：陈慧杰
 * @ Date     ：Created in 15:56 2021/12/2
 */
public interface UserService {

    public List<User> getUserList(User user , String queryname,String queryUserRole ,Integer fromIndex,Integer pageSize) ;



    User login(String userName, String password);

    int getUserCount(String queryname, String queryUserRole);

    int addUser(User user);

    User ucExist(  String userCode);

     int deleteUser(String uid);

    User userView(String uid);

    int doUserModify(User user);



  boolean updatePwd(User user);




   String yanPwd(Integer id);

    int getPwdByUserId(String newpassword, Integer id);
}
